package com.zjj.day4.fly;

/**
 * @author zhoujunjie
 * @desc TODO
 * @date 2025/4/22
 */

class Test {
    public void makeFly(CanFly canFly) {
        canFly.fly();
    }

    public static void main(String[] args) {
        Test test = new Test();
        Airplane airplane = new Airplane();
        Bird bird = new Bird();
        test.makeFly(airplane);
        test.makeFly(bird);
    }
}